package com.feng.paper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 试卷考题备选答案
 * </p>
 *
 * @author feng
 * @since 2023-03-23 20:30:42
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("el_paper_qu_answer")
@ApiModel(value = "PaperQuAnswer对象", description = "试卷考题备选答案")
public class PaperQuAnswer {

    @ApiModelProperty("自增ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("试卷ID")
    @TableField("paper_id")
    private String paperId;

    @ApiModelProperty("回答项ID")
    @TableField("answer_id")
    private String answerId;

    @ApiModelProperty("题目ID")
    @TableField("qu_id")
    private String quId;

    @ApiModelProperty("是否正确项")
    @TableField("is_right")
    private Integer isRight;

    @ApiModelProperty("是否选中")
    @TableField("checked")
    private Integer checked;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("选项标签")
    @TableField("abc")
    private String abc;


}
